﻿namespace Sina.Weibo
{
    using System;

    /// <summary>
    /// Defines the endpoints supported by the api.
    /// </summary>
    internal static class AuthEndpointsInfo
    {
        /// <summary>
        /// Authorize endpoint path.
        /// </summary>
        public const string AuthorizePath = "/oauth2/authorize";

        /// <summary>
        /// Token endpoint path.
        /// </summary>
        public const string AccessTokenPath = "/oauth2/access_token";

        /// <summary>
        /// Token information endpoint path.
        /// </summary>
        public const string GetTokenInfoPath = "/oauth2/get_token_info";

        /// <summary>
        /// Logout endpoint path.
        /// </summary>
        public const string RevokePath = "/oauth2/revokeoauth2";

        /// <summary>
        /// Auth host name.
        /// </summary>
        public const string AuthEndpoint = "https://api.weibo.com";
    }
}
